@import "../../styles/color.scss";
.headerContainer {
    position: relative;
    height: 5rem;
    .header {
        width: 100%;
        height: 5rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid $border-color;
        color: #909090;
        .container {
            width: 960px;
            height: 100%;
            margin: auto;
            display: flex;
            -webkit-box-align: center;
            align-items: center;
            .logo {
                min-width: 98px;
                margin-right: 2rem;
                .logoImg {
                    width: auto;
                    height: auto;
                }
            }
            .mainNav {
                height: 100%;
                flex: 1 0 auto;
            }
            .navList {
                display: flex;
                align-items: center;
                justify-content: flex-end;
                position: relative;
                height: 100%;
                .nav {
                    display: flex;
                }
                .navItem {
                    color: $nav-item-color;
                    padding: 0 1.6rem;
                    font-size: 1.33rem;
                    margin: 0;
                    height: 100%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    cursor: pointer;
                }
                .navItem:last-child {
                    padding-right: 0;
                }
                .search {
                    flex: 1 1 auto;
                    justify-content: flex-end;
                    cursor: auto;
                    .searchContainer {
                        border: 1px solid hsla(0, 0%, 59.2%, .2);
                        background-color: rgba(227, 231, 236, .2);
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        border-radius: 2px;
                        input {
                            border: none;
                            width: 8rem;
                            padding: .6rem 1rem;
                            box-shadow: none;
                            outline: none;
                            font-size: 1.1rem;
                            color: #666;
                            background-color: transparent;
                            caret-color: #666;
                        }
                        input::-webkit-input-placeholder{
                            color: #909090;
                        }
                        .searchIcon {
                            padding: 0 .5rem;
                            cursor: pointer;
                        }
                    }
                }
                .submit {
                    color: $basic-color;
                    position: relative;
                }
                .submit::after {
                    content: "|";
                    position: absolute;
                    top: 20px;
                    left: 100%;
                    color: hsla(0, 0%, 59.2%, .4);
                }
                .auth {
                    color: $basic-color;
                    .login::after {
                        content: "·";
                        margin: 0px 0.4rem;
                    }
                }
                .itemSelected {
                    color: $basic-color;
                }
            }
        }
    }
}